package com.example.yt_app.Fragment;


import android.content.Intent;
import android.view.Gravity;
import android.view.View;
import android.view.ViewGroup;

import com.example.yt_app.Activity.AddDevice;
import com.example.yt_app.Activity.SaveActivity;
import com.example.yt_app.Fragment.BaseFragment.BaseFragment;
import com.example.yt_app.R;
import com.example.yt_app.Urils.State;
import com.example.yt_app.Urils.Utils;

import butterknife.OnClick;

/**
 * @author geyifeng
 * @date 2017/5/12
 */
public class ServiceThreeFragment extends BaseFragment {

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_one_service;
    }
    @Override
    protected void initView() {

    }
    @OnClick({R.id.dongtai})
    public void onClick(View v) {
        switch (v.getId()){
            /**
             *  设置三个悬浮按钮的监听事件
             * */
            case R.id.dongtai:

                startActivity(new Intent(getActivity(), SaveActivity.class));
                break;
            default:
                throw new IllegalStateException("Unexpected value: " + v.getId());
        }
    }
}
